package com.dangz.dans.model.other;

/**
 * Columns 表结构
 * @author dangz
 * @since 2018/3/28 14:51
 */
public class Columns {
    private String field;
    private String type;
    private String nulls;
    private String key;
    private String defaults;
    private String comment;

    public String getField() {
        return field;
    }

    public void setField(String field) {
        this.field = field;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public String getNulls() {
        return nulls;
    }

    public void setNulls(String nulls) {
        this.nulls = nulls;
    }

    public String getKey() {
        return key;
    }

    public void setKey(String key) {
        this.key = key;
    }

    public String getDefaults() {
        return defaults;
    }

    public void setDefaults(String defaults) {
        this.defaults = defaults;
    }

    public String getComment() {
        return comment;
    }

    public void setComment(String comment) {
        this.comment = comment;
    }

    @Override
    public String toString() {
        return "Columns{" +
                "field='" + field + '\'' +
                ", type='" + type + '\'' +
                ", nulls='" + nulls + '\'' +
                ", key='" + key + '\'' +
                ", defaults='" + defaults + '\'' +
                ", comment='" + comment + '\'' +
                '}';
    }
}
